CREAT
Section: C Library Functions (3)
Index
Return to Main Contents
BSD mandoc
BSD 4
NAME
creat
- create a new file
SYNOPSIS
Fd #include <
sys/types.h
> Fd #include <
sys/stat.h
> Fd #include <
fcntl.h
> Ft int Fn creat const char *path mode_t mode
DESCRIPTION
Bf -symbolic This interface is made obsolete by: Ef
open
(2).
Fn Creat is the same as:
open(path, O_CREAT | O_TRUNC | O_WRONLY, mode);
SEE ALSO
open
(2)
STANDARDS
The Fn creat function call conforms to St -p1003.1-90 .
HISTORY
The Fn creat function call appeared in AT&T System v6 .
Index
NAME
SYNOPSIS
DESCRIPTION
SEE ALSO
STANDARDS
HISTORY
This document was created by
man2html
, using the manual pages.
Time: 19:42:00 GMT, December 25, 2022